package com.test3.service;

import com.test3.dao.UserDao;
import com.test3.entity.User;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    @Autowired
    private UserDao userdao;

    public List<User> getUser() {
        return userdao.getUser();
    }
}
